[INFO] cloning repository https://github.com/ronniesong0809/rust-project
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ronniesong0809/rust-project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronniesong0809%2Frust-project", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronniesong0809%2Frust-project'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3ee31c87b2c8713247bd7ef43174095cf9bc1ad3
[INFO] building ronniesong0809/rust-project against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronniesong0809%2Frust-project" "/workspace/builds/worker-10/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ronniesong0809/rust-project on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ronniesong0809/rust-project
[INFO] finished tweaking git repo https://github.com/ronniesong0809/rust-project
[INFO] tweaked toml for git repo https://github.com/ronniesong0809/rust-project written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 2a928539b70f142d3292dcca9f5abdb7835d1bd4d9d94a51c4a5f13fc0b001f0
[INFO] running `Command { std: "docker" "start" "-a" "2a928539b70f142d3292dcca9f5abdb7835d1bd4d9d94a51c4a5f13fc0b001f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2a928539b70f142d3292dcca9f5abdb7835d1bd4d9d94a51c4a5f13fc0b001f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a928539b70f142d3292dcca9f5abdb7835d1bd4d9d94a51c4a5f13fc0b001f0", kill_on_drop: false }`
[INFO] [stdout] 2a928539b70f142d3292dcca9f5abdb7835d1bd4d9d94a51c4a5f13fc0b001f0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c35060d3c0b2885a287f0eb79a5e25572cc56fa12ed2265fb2490afe08dd56b3
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c35060d3c0b2885a287f0eb79a5e25572cc56fa12ed2265fb2490afe08dd56b3", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling cc v1.0.68
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling futures-core v0.3.15
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling futures-task v0.3.15
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling futures-channel v0.3.15
[INFO] [stderr]    Compiling pin-project-lite v0.2.6
[INFO] [stderr]    Compiling futures-sink v0.3.15
[INFO] [stderr]    Compiling once_cell v1.7.2
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling futures-io v0.3.15
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling rustversion v1.0.5
[INFO] [stderr]    Compiling bytes v1.0.1
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling openssl v0.10.34
[INFO] [stderr]    Compiling httparse v1.4.1
[INFO] [stderr]    Compiling gimli v0.24.0
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling openssl-probe v0.1.4
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling rustc-demangle v0.1.19
[INFO] [stderr]    Compiling object v0.24.0
[INFO] [stderr]    Compiling httpdate v0.3.2
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling os_info v1.3.3
[INFO] [stderr]    Compiling encoding_rs v0.8.28
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling md5 v0.6.1
[INFO] [stderr]    Compiling bufstream v0.1.4
[INFO] [stderr]    Compiling base64 v0.11.0
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]    Compiling futures-util v0.3.15
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]    Compiling tracing-core v0.1.18
[INFO] [stderr]    Compiling unicode-bidi v0.3.5
[INFO] [stderr]    Compiling tinyvec v1.2.0
[INFO] [stderr]    Compiling base64 v0.10.1
[INFO] [stderr]    Compiling futf v0.1.4
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling base64 v0.9.3
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling http v0.2.4
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling bit-set v0.5.2
[INFO] [stderr]    Compiling phf v0.7.24
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling tendril v0.4.2
[INFO] [stderr]    Compiling tracing v0.1.26
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling crypto-mac v0.7.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.18
[INFO] [stderr]    Compiling openssl-sys v0.9.63
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling backtrace v0.3.59
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling sha-1 v0.8.2
[INFO] [stderr]    Compiling md-5 v0.8.0
[INFO] [stderr]    Compiling hmac v0.7.1
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling err-derive v0.2.4
[INFO] [stderr]    Compiling addr2line v0.15.1
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling resolv-conf v0.7.0
[INFO] [stderr]    Compiling native-tls v0.2.7
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling pbkdf2 v0.3.0
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling string_cache_codegen v0.4.4
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling string_cache v0.7.5
[INFO] [stderr]    Compiling futures v0.3.15
[INFO] [stderr]    Compiling webpki v0.21.4
[INFO] [stderr]    Compiling sct v0.6.1
[INFO] [stderr]    Compiling darling_core v0.12.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling webpki-roots v0.18.0
[INFO] [stderr]    Compiling rustls v0.16.0
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]    Compiling pin-project-internal v1.0.7
[INFO] [stderr]    Compiling thiserror-impl v1.0.25
[INFO] [stderr]    Compiling async-trait v0.1.50
[INFO] [stderr]    Compiling enum-as-inner v0.3.3
[INFO] [stderr]    Compiling darling_macro v0.12.4
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling darling v0.12.4
[INFO] [stderr]    Compiling html5ever v0.23.0
[INFO] [stderr]    Compiling derivative v1.0.4
[INFO] [stderr]    Compiling typed-builder v0.3.0
[INFO] [stderr]    Compiling serde_with_macros v1.4.1
[INFO] [stderr]    Compiling thiserror v1.0.25
[INFO] [stderr]    Compiling pin-project v1.0.7
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling trust-dns-proto v0.19.7
[INFO] [stderr]    Compiling tokio-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.2.7
[INFO] [stderr]    Compiling trust-dns-resolver v0.19.7
[INFO] [stderr]    Compiling bstr v0.2.16
[INFO] [stderr]    Compiling serde_with v1.9.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stdout] error[E0597]: `version_regex` does not live long enough
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/os_info-1.3.3/src/linux/file_release.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |               version_regex
[INFO] [stdout]    |               -^^^^^^^^^^^^
[INFO] [stdout]    |               |
[INFO] [stdout]    |  _____________borrowed value does not live long enough
[INFO] [stdout]    | |
[INFO] [stdout] 37 | |                 .captures_iter(&file_content)
[INFO] [stdout]    | |_____________________________________________- a temporary with access to the borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 41 |           } else {
[INFO] [stdout]    |           -
[INFO] [stdout]    |           |
[INFO] [stdout]    |           `version_regex` dropped here while still borrowed
[INFO] [stdout]    |           ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `regex::CaptureMatches<'_, '_>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the temporary is part of an expression at the end of a block;
[INFO] [stdout]            consider forcing this temporary to be dropped sooner, before the block's local variables are dropped
[INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block
[INFO] [stdout]    |
[INFO] [stdout] 36 |             let x = version_regex
[INFO] [stdout] 37 |                 .captures_iter(&file_content)
[INFO] [stdout] 38 |                 .next()
[INFO] [stdout] 39 |                 .and_then(|c| c.get(1))
[INFO] [stdout] 40 |                 .map(|v| v.as_str().trim_end().to_owned()); x
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `os_info`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "c35060d3c0b2885a287f0eb79a5e25572cc56fa12ed2265fb2490afe08dd56b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c35060d3c0b2885a287f0eb79a5e25572cc56fa12ed2265fb2490afe08dd56b3", kill_on_drop: false }`
[INFO] [stdout] c35060d3c0b2885a287f0eb79a5e25572cc56fa12ed2265fb2490afe08dd56b3
